package design_mode.proxy.static_proxy;

import design_mode.proxy.IUSBShop;
import design_mode.proxy.USBFactory;

public class Client {
    public static void main(String[] args) {
        IUSBShop iusbShop = new USBFactory();
        USBProxy usbProxy = new USBProxy(iusbShop);
        System.out.println("商家不接受厂家建议，最终卖一个USB的价格是："+usbProxy.sellUSB());
    }
}
